/* The original design owns the page. Only LemyOX integration UI is styled here. */
html[data-dtc-reference] [data-iv-hidden="1"] { display:none !important; }
html[data-dtc-reference] .iv-editing .wow { visibility:visible !important;animation:none !important; }
#iv-toast { position:fixed; z-index:2147483646; left:50%; bottom:30px; transform:translate(-50%,18px); padding:12px 20px; border-radius:12px; background:#252323; color:#fff; font:14px/1.5 system-ui,sans-serif; max-width:calc(100vw - 36px); opacity:0; pointer-events:none; transition:opacity .15s,transform .15s; }
#iv-toast.is-show { opacity:1; transform:translate(-50%,0); }
.dtc-reference-status { font:inherit; margin-top:8px; }
.dtc-reference-photo { cursor:pointer; }
.iv-editing .dtc-reference-photo { outline-offset:2px; }
.dtc-reference-root { display:contents; }
.dtc-reference-particles { position:fixed;inset:0;width:100%;height:100%;z-index:2147482000;pointer-events:none; }
html[data-dtc-reference] .dtc-reference-music { position:fixed !important;left:auto !important;top:auto !important;right:var(--dtc-tools-right, calc(var(--dtc-music-frame-right, max(0px, (100vw - 500px) / 2)) + 14px)) !important;bottom:var(--dtc-tools-bottom, max(14px,env(safe-area-inset-bottom))) !important;width:44px !important;height:44px !important;transform:none !important;animation:none !important;z-index:2147483000 !important; }
.dtc-reference-video video,.dtc-reference-video iframe,.dtc-reference-video .cv-video__frame { display:block;width:100%;height:100%;border:0;object-fit:cover; }
html[data-dtc-reference] video[data-dtc-video-removed="1"] { display:none!important; }
.dtc-reference-video[data-dtc-video-background] { overflow:hidden; }
.dtc-reference-gift { position:fixed; z-index:2147483001; inset:0; display:grid; place-items:center; background:#0008; padding:20px; }
.dtc-reference-gift[hidden] { display:none; }
.dtc-reference-gift__card { position:relative; padding:30px; border-radius:12px; width:min(380px,100%); background:#fff; color:#222; font:15px/1.6 system-ui,sans-serif; text-align:center; max-height:90vh; overflow:auto; }
.dtc-reference-gift__card img { display:block; width:180px; height:180px; margin:12px auto; }
.dtc-reference-gift__close { position:absolute; right:10px; top:5px; border:0; background:none; color:#222; font:28px/1.5 system-ui,sans-serif; cursor:pointer; }
.dtc-reference-gift__bank + .dtc-reference-gift__bank { margin-top:20px; border-top:1px solid #ddd; padding-top:16px; }
.dtc-reference-album { background:#000e; }
.dtc-reference-album > img { max-width:90vw; max-height:90vh; object-fit:contain; }
.dtc-reference-album > button { position:absolute; border:0; background:#222a; color:#fff; border-radius:50%; width:44px; height:44px; font:32px/1 system-ui,sans-serif; cursor:pointer; }
.dtc-reference-album__close { top:16px; right:16px; }
.dtc-reference-album__prev { left:16px; top:50%; }
.dtc-reference-album__next { right:16px; top:50%; }
