/* 3.0.3 — herkomstlabels: gevouwen boekhoekjes, site blijft licht. */
.gg3-origin { position:relative; display:inline-block; max-width:100%; margin:9px 0; font:500 12px/1.45 'Plus Jakarta Sans',system-ui,sans-serif; vertical-align:middle; z-index:4; }
.gg3-origin > summary { cursor:pointer; list-style:none; display:inline-flex; align-items:center; gap:7px; min-height:29px; border:1px solid var(--gg3-origin-stroke,#d9d3e7); color:var(--gg3-origin-ink,#694c7d); background:var(--gg3-origin-wash,#f1ebf7); padding:5px 12px; border-radius:999px; font:inherit; font-weight:700; user-select:none; }
.gg3-origin > summary::-webkit-details-marker {display:none;}
.gg3-origin > summary:focus-visible {outline:3px solid #86acdc;outline-offset:3px;}
.gg3-origin__symbol {font-size:16px; line-height:1;}
.gg3-origin__info {font-size:12px; opacity:.8; margin-left:1px;}
.gg3-origin__description {width:min(310px,calc(100vw - 30px)); max-width:100%; position:absolute; top:calc(100% + 7px); left:0; z-index:80; padding:13px 16px; border-radius:13px; line-height:1.7; font-size:12px; font-weight:500; box-shadow:0 12px 36px rgba(11,35,51,.15); background:#fff; color:#2c3c49; border:1px solid #dfe5e9; }
.gg3-origin--studio-gedicht {--gg3-origin-wash:#e8eef9;--gg3-origin-ink:#35558d;--gg3-origin-stroke:#cedbf0;}
.gg3-origin--studio-creatie {--gg3-origin-wash:#f7eddd;--gg3-origin-ink:#92612d;--gg3-origin-stroke:#e8d6b7;}
.gg3-origin--woord-vonk {--gg3-origin-wash:#e8f2e8;--gg3-origin-ink:#386d45;--gg3-origin-stroke:#c6dec6;}
.gg3-origin--studiohulp {--gg3-origin-wash:#edf1f5;--gg3-origin-ink:#4b6170;--gg3-origin-stroke:#d6e0e8;}
.gg3-origin--dicht-wonder {--gg3-origin-wash:#f2eaf7;--gg3-origin-ink:#805399;--gg3-origin-stroke:#e0cce8;}
/* Labels do not alter poem layout or push other controls out of place. */
.gg3-origin[open]{z-index:85}
.vv57-poem-card__body > .gg3-origin{margin:2px 0 9px}
.ggw-poem-paper__center > .gg3-origin{display:table;margin:9px auto 14px}
.ggw-poem-paper__center > .gg3-origin .gg3-origin__description{left:50%;transform:translateX(-50%);text-align:left}

/* Herkomstfilter op het archief, compact op mobiel. */
.gg3-origin-filters{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 25px;padding:0 0 4px;align-items:center}
.gg3-origin-filters a{display:inline-flex;align-items:center;text-decoration:none!important;min-height:37px;padding:7px 12px;border:1px solid #d8e0e6;border-radius:999px;background:#fff;color:#2a4c61;font:650 12px/1.4 'Plus Jakarta Sans',system-ui,sans-serif}
.gg3-origin-filters a[aria-current="page"]{background:#25465c;color:#fff!important;border-color:#25465c}
.gg3-origin-filters a:focus-visible{outline:3px solid #8bb7dd;outline-offset:2px}
@media(max-width:640px){.gg3-origin-filters{gap:7px;margin-bottom:18px}.gg3-origin-filters a{font-size:11px;min-height:34px;padding:6px 9px}}



/* Folded upper-right corner — real link, accessible without JavaScript. */
html body :is(.ggw-poem-card.vv57-poem-card,.post-card-poetic,.gg-profile-poem-card,.ggw-poem-paper) {
 position:relative!important;
}
html body .gg3-origin-corner {
 --gg3-corner-a:#86649a;--gg3-corner-b:#634675;
 position:absolute!important;right:0!important;top:0!important;z-index:24!important;
 display:block!important;width:140px!important;height:140px!important;min-width:0!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
 background:transparent!important;color:#fff!important;box-shadow:none!important;
 cursor:pointer!important;overflow:hidden!important;isolation:isolate;
 clip-path:polygon(0 0,100% 0,100% 100%);
 -webkit-clip-path:polygon(0 0,100% 0,100% 100%);
 transform:none!important;letter-spacing:normal!important;white-space:normal!important;
 transition:filter .18s ease!important;
}
html body .gg3-origin-corner:before {
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:linear-gradient(135deg,var(--gg3-corner-a) 4%,var(--gg3-corner-b) 90%);
 clip-path:polygon(0 0,100% 0,100% 100%);
}
html body .gg3-origin-corner:after {
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:linear-gradient(135deg,transparent 49%,rgba(255,255,255,.25) 49.5%,transparent 50.5%);
 opacity:.75;
}
html body .gg3-origin-corner:hover {filter:brightness(1.09)!important}
html body .gg3-origin-corner:focus-visible {outline:3px solid #1c6aa8!important;outline-offset:-3px!important;filter:brightness(1.13)!important}
html body .gg3-origin-corner__words {
 position:absolute!important;left:39px!important;top:41px!important;
 width:111px!important;height:20px!important;
 display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;
 font:700 10.5px/1.1 'Plus Jakarta Sans',system-ui,sans-serif!important;
 letter-spacing:.012em!important;text-align:center!important;color:#fff!important;
 text-shadow:0 1px 2px rgba(15,21,34,.12)!important;
 white-space:nowrap!important;transform:rotate(45deg)!important;transform-origin:center!important;
}
html body .gg3-origin-corner__symbol {font-size:14px!important;line-height:1!important;color:#fff!important;flex:none!important}
html body .gg3-origin-corner__name {font:inherit!important;color:inherit!important;white-space:nowrap!important;min-width:0!important}
html body .gg3-origin-corner--dicht-wonder {--gg3-corner-a:#9770a9;--gg3-corner-b:#725184}
html body .gg3-origin-corner--studio-gedicht {--gg3-corner-a:#53789a;--gg3-corner-b:#345572}
html body .gg3-origin-corner--studio-creatie {--gg3-corner-a:#bc925d;--gg3-corner-b:#90693f}
html body .gg3-origin-corner--woord-vonk {--gg3-corner-a:#72997b;--gg3-corner-b:#52735a}
html body .gg3-origin-corner--studiohulp {--gg3-corner-a:#8497a6;--gg3-corner-b:#5e7180}
/* Book corner remains smaller than the artwork, including mobile and single pages. */
@media (max-width:640px) {
 html body .gg3-origin-corner{width:124px!important;height:124px!important}
 html body .gg3-origin-corner__words{left:33px!important;top:35px!important;width:103px!important;font-size:9.6px!important}
 html body .gg3-origin-corner__symbol{font-size:12px!important}
}
/* Inline origin labels are links to the same explanation page. */
html body a.gg3-origin{display:inline-flex!important;align-items:center!important;gap:7px!important;padding:6px 12px!important;background:var(--gg3-origin-wash,#f2eaf7)!important;border:1px solid var(--gg3-origin-stroke,#ded2e3)!important;border-radius:999px!important;color:var(--gg3-origin-ink,#694c7d)!important;text-decoration:none!important;font-weight:700!important;}
html body a.gg3-origin:hover{filter:brightness(.96);text-decoration:underline!important;}
html body a.gg3-origin:focus-visible{outline:3px solid #75a8d1!important;outline-offset:3px;}
@media(prefers-reduced-motion:reduce){html body .gg3-origin-corner{transition:none!important}}
