/* Original boulevard: the only overlays are localised lettering and transparent links. */
.yh-ar{color:#fff;background:#080706;max-width:100%;overflow:hidden}
.yh-ar-exact{position:relative;isolation:isolate;width:100%;max-width:1672px;margin:0 auto;line-height:0;direction:ltr}
.yh-ar-exact-image{display:block;width:100%;height:auto;margin:0}
.yh-ar-local-signs{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none;z-index:1}
.yh-ar-linkgroup{display:contents}
.yh-ar-exact-link{position:absolute;left:var(--x);top:var(--y);width:var(--w);height:var(--h);display:block;border-radius:9px;background:transparent;z-index:2;text-decoration:none}

.yh-ar-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.yh-ar-mobile{display:none}
.yh-ar-note{margin:0;padding:12px 20px;text-align:center;font-size:13px;color:#ddcfb4;line-height:1.6;background:#080706}
@media(max-width:1000px){
 .yh-ar-desktop{display:none}
 .yh-ar-mobile{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px 16px;background:#000}
 .yh-ar-mobile-title,.yh-ar-mobile-banner{grid-column:1/-1;text-align:center}
 .yh-ar-mobile-title h1{color:#efbd52;font:700 clamp(27px,5vw,46px)/1.2 Georgia,serif;margin:0 0 9px}
 .yh-ar-mobile-title p{margin:0;font-size:15px;line-height:1.5;color:#fff}
 .yh-ar-mobile-banner{padding:4px 0 2px}
 .yh-ar-mobile-portrait-frame{display:inline-block;padding:8px;background:linear-gradient(180deg,#201206 0%,#0a0703 100%);border:1px solid #c89532;border-radius:18px;box-shadow:0 0 0 1px #6f4a12 inset,0 0 18px #b5791f26}
 .yh-ar-mobile-banner img{width:min(240px,72vw);height:auto;display:block;margin:0 auto;border-radius:12px}
 .yh-ar-mobile-banner-name{margin:10px 0 0;color:#efbd52;font:700 clamp(21px,6vw,32px)/1.15 Georgia,serif;letter-spacing:.08em;text-transform:uppercase}
 .yh-ar-mobile-shop{min-width:0;border:1px solid #c89532;border-radius:12px;padding:14px;background:#0b0906;box-shadow:inset 0 0 18px #bf86231c,0 0 12px #bf862324}
 .yh-ar-mobile-shop h2{color:#ffcf67;text-align:center;font:700 clamp(19px,3vw,27px)/1.25 Georgia,serif;margin:0 0 8px}
 .yh-ar-mobile-shop p{font-size:13px;text-align:center;line-height:1.45;color:#f5e6c9;margin:0 0 13px}
 .yh-ar-mobile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;direction:ltr}
 .yh-ar-mobile-card{display:flex;align-items:center;justify-content:center;flex-direction:column;min-width:0;min-height:0;aspect-ratio:1.55;box-sizing:border-box;text-decoration:none;color:#fff;background:#000;border:1px solid #c89532;border-radius:8px;overflow:hidden;padding:5px}
 .yh-ar-mobile-card img{width:100%;height:100%;min-height:0;object-fit:contain;display:block;border-radius:4px}
 .yh-ar-mobile-name{font:600 13px/1.25 Arial,sans-serif;text-align:center;padding:5px 1px;overflow-wrap:anywhere;color:#fff}

}
@media(max-width:660px){.yh-ar-mobile{grid-template-columns:minmax(0,1fr);padding:18px 12px;gap:14px}.yh-ar-mobile-portrait-frame{padding:7px;border-radius:16px}.yh-ar-mobile-shop{padding:11px}.yh-ar-note{padding:12px 16px}}

/* KVK addition: replace only the lower row of the desktop norm-data board. */
.yh-ar-normdata-lower-backdrop{position:absolute;left:8.2%;top:36.95%;width:26.45%;height:13.8%;clip-path:polygon(0 0,100% 11%,100% 100%,0 94%);z-index:1;background:linear-gradient(175deg,#251202 0%,#100a04 20%,#110a03 80%,#3e2106 100%);border-radius:.55vw;pointer-events:none}
.yh-ar-exact{container-type:inline-size}
.yh-ar-normdata-tile{box-sizing:border-box;display:grid;grid-template-rows:minmax(0,1fr) auto;align-items:stretch;padding:2px;overflow:hidden;border:1px solid #e7b34e;background:linear-gradient(#40270b,#0a0703 75%);border-radius:0.7cqw;box-shadow:0 0 6px #e9a62c82,inset 0 0 4px #f5ca65;line-height:normal}
.yh-ar-normdata-logo{display:flex;min-height:0;align-items:center;justify-content:center;overflow:hidden;border-radius:.55cqw;background:#fff;padding:.18cqw .24cqw 0;box-sizing:border-box}
.yh-ar-normdata-logo img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.yh-ar-normdata-label{display:flex;justify-content:center;align-items:center;min-height:0;color:#fff;font:700 1.43cqw/1 Arial,sans-serif;text-shadow:0 1px 2px #000;white-space:nowrap;padding:.14cqw 0 .24cqw}
.yh-ar-normdata-orcid .yh-ar-normdata-logo{padding-bottom:.18cqw}

/* Author resources only: bounded golden frame, with a travelling highlight. */
@property --yh-ar-gold-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
#author-resources .yh-ar-mobile-card {position:relative}
#author-resources :is(.yh-ar-exact-link,.yh-ar-mobile-card)::before,
#author-resources :is(.yh-ar-exact-link,.yh-ar-mobile-card)::after {
  content:"";
  position:absolute;
  inset:0;
  box-sizing:border-box;
  border-radius:inherit;
  pointer-events:none;
  z-index:4;
  opacity:0;
  transition:opacity 260ms ease;
}
/* The glow fades inward from the perimeter; nothing extends into adjacent tiles. */
#author-resources :is(.yh-ar-exact-link,.yh-ar-mobile-card)::before {
  box-shadow:inset 0 0 0 2px #ffce55,inset 0 0 6px 2px #e6a41ac7,inset 0 0 14px #ffbf3d66;
}
/* The mask retains only the frame and never covers the logo centre. */
@supports (background:conic-gradient(from 0deg,#fff,#000)) and ((mask-composite:exclude) or (-webkit-mask-composite:xor)) {
  #author-resources :is(.yh-ar-exact-link,.yh-ar-mobile-card)::after {
    padding:3px;
    background:conic-gradient(from var(--yh-ar-gold-angle,0deg),
      #e7a92e 0deg,#f8cf70 22deg,#fff4bd 37deg,#fff 43deg,
      #ffe29a 49deg,#e5a525 65deg,#c78b22 105deg,#fbd77b 153deg,
      #fff2bd 163deg,#fff 167deg,#ffe19a 172deg,#cf9424 190deg,
      #e8b33f 245deg,#ffdd83 288deg,#fff6cf 300deg,#d99e2b 317deg,#e7a92e 360deg);
    -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
    -webkit-mask-composite:xor;
    mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
    mask-composite:exclude;
  }
}
@keyframes yh-ar-gold-travel {from{--yh-ar-gold-angle:0deg}to{--yh-ar-gold-angle:360deg}}
#author-resources :is(.yh-ar-exact-link,.yh-ar-mobile-card):focus-visible::before,
#author-resources :is(.yh-ar-exact-link,.yh-ar-mobile-card):focus-visible::after {opacity:1}
/* Only a genuine hover-capable primary pointer triggers the animation. */
@media (hover:hover) and (pointer:fine) {
  #author-resources :is(.yh-ar-exact-link,.yh-ar-mobile-card):hover::before,
  #author-resources :is(.yh-ar-exact-link,.yh-ar-mobile-card):hover::after {opacity:1}
  #author-resources :is(.yh-ar-exact-link,.yh-ar-mobile-card):hover::after {
    animation:yh-ar-gold-travel 2.4s linear infinite;
  }
}
@media (prefers-reduced-motion:reduce) {
  #author-resources :is(.yh-ar-exact-link,.yh-ar-mobile-card)::before,
  #author-resources :is(.yh-ar-exact-link,.yh-ar-mobile-card)::after {
    animation:none!important;
    transition:none;
  }
}

/* Norm-data board: four tiles in each desktop row. */
.yh-ar-normdata-lower-backdrop{left:6.4%;top:36.9%;width:29.1%;height:14.0%;clip-path:polygon(0 0,100% 10%,100% 100%,0 93%)}
.yh-ar-normdata-orcid .yh-ar-normdata-label,
.yh-ar-normdata-worldcat .yh-ar-normdata-label,
.yh-ar-normdata-kvk .yh-ar-normdata-label {font-size:1.17cqw}
.yh-ar-normdata-kvk .yh-ar-normdata-logo{padding:.12cqw}
.yh-ar-normdata-culturegraph{grid-template-rows:minmax(0,1fr) auto}
.yh-ar-normdata-culturegraph .yh-ar-normdata-logo{background:#fff;padding:.2cqw}
.yh-ar-normdata-culturegraph .yh-ar-normdata-logo img{width:100%;height:100%;object-fit:contain}
.yh-ar-culturegraph-subtitle{display:block;color:#fff;text-align:center;font:700 .70cqw/1.12 Arial,sans-serif;white-space:normal;overflow-wrap:anywhere;padding:.16cqw .15cqw .36cqw}
/* The upper backdrop covers only the three original baked-in tiles. */
.yh-ar-normdata-upper-backdrop{position:absolute;left:7.1%;top:20.9%;width:28.45%;height:17.5%;clip-path:polygon(0 0,100% 21%,100% 100%,0 91%);z-index:1;background:linear-gradient(175deg,#251202 0%,#100a04 20%,#110a03 80%,#3e2106 100%);border-radius:.55vw;pointer-events:none}
.yh-ar-normdata-tile .yh-ar-normdata-label{font-size:1.17cqw}
.yh-ar-normdata-elaba .yh-ar-normdata-logo{padding:0;background:#fff}
.yh-ar-normdata-elaba .yh-ar-normdata-logo img{width:100%;height:100%;object-fit:contain}

/* Desktop ISNI only: compensate for the asymmetric whitespace in desktop-isni.png. */
.yh-ar-desktop .yh-ar-normdata-isni .yh-ar-normdata-logo{padding-bottom:.18cqw}
.yh-ar-desktop .yh-ar-normdata-isni .yh-ar-normdata-logo img{transform:translate(-10%, -13%)}

/* Desktop only: the expanded 4+5 norm-data board, with both rows centred
   on x=21.55% of the original scene. Mobile styles are unchanged. */
@media (min-width:1001px){
 .yh-ar-desktop .yh-ar-normdata-upper-backdrop{
  left:5.9%;top:20.6%;width:31.2%;height:18.4%;
  clip-path:polygon(0 0,100% 19%,100% 100%,0 88%);
  background:linear-gradient(174deg,#34200b,#120b04 22%,#090603 78%,#36200a);
 }
 .yh-ar-desktop .yh-ar-normdata-lower-backdrop{
  left:3.65%;top:37.0%;width:35.8%;height:15.55%;
  clip-path:polygon(0 0,100% 13%,100% 100%,0 93%);
  background:linear-gradient(174deg,#34200b,#120b04 19%,#090603 80%,#36200a);
 }
 .yh-ar-desktop .yh-ar-normdata-tile{
  border-color:#f0c266;
  box-shadow:0 0 .35cqw #efa82b9c,inset 0 0 .24cqw #f5ca65;
  padding:.15cqw;
 }
 .yh-ar-desktop .yh-ar-normdata-tile .yh-ar-normdata-label{font-size:1.21cqw}
 .yh-ar-desktop .yh-ar-normdata-tile .yh-ar-culturegraph-subtitle{font-size:.73cqw}
 .yh-ar-desktop .yh-ar-normdata-elaba .yh-ar-culturegraph-subtitle{font-size:.65cqw}
 .yh-ar-desktop .yh-ar-normdata-ognd .yh-ar-normdata-logo{padding:.15cqw}
}

/* OGND: mobile-only full-width tile below Culturegraph and eLABa. */
@media(max-width:1000px){
 .yh-ar-mobile-grid:has(> .yh-ar-mobile-card--ognd){container-type:inline-size}
 .yh-ar-mobile-grid > .yh-ar-mobile-card--ognd{grid-column:1/-1;width:100%;aspect-ratio:3.2;height:calc((100cqw - 10px)/3.1)}
 .yh-ar-mobile-card--ognd img{background:#fff;object-fit:contain;width:100%;height:100%}
}
