
/* Platinum v1.2 accepted renderer sits inside v0.5's existing 3D card scene.
   It does NOT replace the Gallery navigation, preview dock, filters or interactions. */
.wp-v06-viewport{width:100%;height:100%;position:absolute;inset:0;overflow:hidden;pointer-events:none;contain:layout paint}
.wp-v06-fixed{position:absolute;left:0;top:0;width:1536px;height:1024px;transform-origin:top left;pointer-events:none}
.wp-v06-iframe{display:block;width:1536px;height:1024px;border:0;background:transparent;pointer-events:none}
.gl-face>.wp-v06-viewport{z-index:0}
.gl-thumb-card>.wp-v06-viewport{z-index:0}
/* only new-version thumb uses an approved thumbnail renderer; old v0.5 thumbs unchanged */
.gl-thumb-card:has(.wp-v06-viewport) .gl-thumb-hover{z-index:15}

/* v0.6.1: Frozen v1.4 thumbnail direct rendering (no nested lab iframe) */
.wp-direct-thumb .wp-thumb-stage{position:absolute;inset:0;width:1536px;height:1024px;background:#f5f0e9;overflow:hidden;color:#4a341f}
.wp-direct-thumb .wp-thumb-base{position:absolute;inset:0;width:1536px;height:1024px;object-fit:fill}
.wp-direct-thumb .wp-thumb-stage>div,.wp-direct-thumb .wp-thumb-logo{position:absolute;box-sizing:border-box}
.wp-direct-thumb .wp-thumb-title{display:flex;justify-content:center;align-items:center;white-space:nowrap;text-align:center;color:#4a341f;font-family:'Noto Serif SC','Source Han Serif SC',serif;font-weight:600}
.wp-direct-thumb .wp-thumb-title span{display:inline-block;max-width:100%;white-space:nowrap;line-height:1.05}
.wp-direct-thumb .wp-thumb-author{display:flex;align-items:center;justify-content:flex-end;text-align:right;font-family:'Allura','Segoe Script',cursive;color:#5b4329;font-size:55px;white-space:nowrap}
.wp-direct-thumb .wp-thumb-logo{object-fit:contain;filter:sepia(.7) saturate(.72) brightness(.58)}
.wp-direct-thumb .wp-thumb-en{display:flex;align-items:center;font:700 80px/1.10 'Cormorant Garamond',Georgia,serif;color:#4a341f;white-space:nowrap;overflow:hidden}
.wp-direct-thumb .wp-thumb-meta{display:flex;align-items:center;font:500 29px/1.1 'Noto Serif SC',serif;color:#75695b;white-space:nowrap}
.wp-direct-thumb .wp-thumb-watermark{position:absolute;left:68px;top:923px;width:232px;height:42px;opacity:.8;object-fit:contain;object-position:left center}
.gl-local-demo-note{margin:7px 12px 11px;color:#b1a382;font-size:11px;line-height:1.65}

/* v0.6.5 RC1 — user-frozen Thumbnail Layout Lab v2; scope limited to thumbnail.
   Keep dimensions and typography identical to exported Lab JSON. No autoFit. */
.wp-direct-thumb.wp-thumb-lab-v2 .wp-thumb-title,
.wp-direct-thumb.wp-thumb-lab-v2 .wp-thumb-author,
.wp-direct-thumb.wp-thumb-lab-v2 .wp-thumb-en,
.wp-direct-thumb.wp-thumb-lab-v2 .wp-thumb-ovr{
 display:flex;align-items:center;justify-content:flex-end;text-align:right;
 overflow:hidden;white-space:normal;
}
.wp-direct-thumb.wp-thumb-lab-v2 .wp-thumb-title{
 font-family:'Noto Serif SC','Source Han Serif SC','SimSun',serif;
 font-size:100px;font-weight:600;line-height:1.12;letter-spacing:0;
 color:#443120;
}
.wp-direct-thumb.wp-thumb-lab-v2 .wp-thumb-author{
 font-family:'Allura','Segoe Script',cursive;font-size:72px;font-weight:400;
 line-height:1.05;letter-spacing:0;color:#5b4329;
}
.wp-direct-thumb.wp-thumb-lab-v2 .wp-thumb-en{
 font-family:'Cormorant Garamond',Georgia,serif;
 font-size:75px;font-weight:700;line-height:1.06;letter-spacing:0;color:#493522;
}
.wp-direct-thumb.wp-thumb-lab-v2 .wp-thumb-ovr{
 font-family:'Cormorant Garamond',Georgia,serif;
 font-size:130px;font-weight:700;line-height:1;letter-spacing:0;color:#493522;
 font-variant-numeric:tabular-nums lining-nums;
}
.wp-direct-thumb.wp-thumb-lab-v2 .wp-thumb-title span,
.wp-direct-thumb.wp-thumb-lab-v2 .wp-thumb-author span,
.wp-direct-thumb.wp-thumb-lab-v2 .wp-thumb-en span,
.wp-direct-thumb.wp-thumb-lab-v2 .wp-thumb-ovr span{
 display:-webkit-box;max-width:100%;width:100%;overflow:hidden;white-space:normal;
 text-align:right;overflow-wrap:anywhere;word-break:break-word;
 -webkit-box-orient:vertical;-webkit-line-clamp:1;
}
.wp-direct-thumb.wp-thumb-lab-v2 .wp-thumb-title span{
 -webkit-line-clamp:2;line-height:1.12;letter-spacing:0;
}
.wp-direct-thumb.wp-thumb-lab-v2 .wp-thumb-author span{line-height:1.05;letter-spacing:0}
.wp-direct-thumb.wp-thumb-lab-v2 .wp-thumb-en span{line-height:1.06;letter-spacing:0}
.wp-direct-thumb.wp-thumb-lab-v2 .wp-thumb-ovr span{line-height:1;letter-spacing:0}
.wp-direct-thumb.wp-thumb-lab-v2 .wp-thumb-logo{
 object-fit:contain;filter:sepia(.65) saturate(.8) brightness(.58);
}

/* Theme System v1: unsupported snapshots retain their data, but never display fake artwork. */
.gl-theme-missing{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;background:#161b21;color:#e2d4b1;font:600 22px/1.4 system-ui,sans-serif;text-align:center}
.gl-theme-missing span{font-size:14px;opacity:.72;word-break:break-word;padding:0 16px}

/* v0.6.8: rarity label is an external UI overlay; the user-frozen card artwork stays unchanged. */
.gl-nine-rarity-badge{position:absolute;right:35px;top:29px;z-index:5;border:1px solid rgba(203,167,98,.52);border-radius:10px;padding:10px 20px;background:rgba(14,13,19,.78);color:#f3dca6;font:600 23px/1.25 'Noto Serif SC',sans-serif;letter-spacing:.5px;box-shadow:0 3px 15px rgba(0,0,0,.23);pointer-events:none}
.gl-nine-rarity-badge[data-rarity="rare"]{border-color:rgba(172,166,219,.68);color:#e0d8f8}
.gl-nine-rarity-badge[data-rarity="collector"]{border-color:rgba(199,229,218,.78);color:#e7f7f0}
