.wrap { max-width: 1024px; margin: auto; padding: 0 20px; } .un-interstitial-overlay { display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; } .un-interstitial-overlay.un-interstitial-show { animation: un-interstitial-blur-in 1.72s 0s forwards; /* Important */ } .un-interstitial-overlay.un-interstitial-hide { animation: un-interstitial-blur-out 900ms 0s forwards; /* Important */ } @keyframes un-interstitial-blur-in { from { backdrop-filter: blur(0px); } to { backdrop-filter: blur(6px); } } @keyframes un-interstitial-blur-out { from { backdrop-filter: blur(6px); } to { backdrop-filter: blur(0px); } } .un-interstitial-banner-wrapper { display: none; width: 100%; max-width: 0px; max-height: 0px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 4px; box-shadow: 2px 3px 15px 0px rgba(0, 0, 0, 0.5); transition: all 218ms ease; overflow: hidden; } .un-interstitial-banner-wrapper.un-interstitial-show { max-width: 600px; max-height: 100%; } .un-interstitial-close-btn-wrapper { display: none; position: absolute; top: 10px; right: 10px; } .un-interstitial-banner-wrapper img { display: block; width: 100%; max-width: 600px; transition: all 218ms ease; } .un-interstitial-close-btn { width: 24px; height: 24px; z-index: 9; position: absolute; right: 0; top: 0; cursor: pointer; display: none; transition: transform 572ms ease-in-out; background: #050028; border-radius: 50%; } .un-interstitial-close-btn:hover { transform: rotate(270deg); } .un-interstitial-close-btn::before { content: ''; display: block; height: 4px; width: 16px; background: #fcd361; transform: rotate(45deg); border-radius: 2px; bottom: 10px; left: 4px; position: absolute; } .un-interstitial-close-btn::after { content: ''; display: block; height: 4px; width: 16px; background: #fcd361; transform: rotate(135deg); border-radius: 2px; bottom: 10px; left: 4px; position: absolute; } .un-interstitial-RadialProgress { /* display: none; */ --hue: 44; --holesize: 50%; --track-bg: hsl(249 100% 8%); block-size: 24px; inline-size: 24px; min-inline-size: 24px; min-block-size: 24px; display: grid; place-items: center; position: relative; font-weight: 700; font-size: max(10vmin, 1.4rem); z-index: 10; } .un-interstitial-RadialProgress::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; right: 0; border-radius: 50%; z-index: -1; background: conic-gradient( hsl(var(--hue) 100% 70%), hsl(var(--hue) 100% 40%), hsl(var(--hue) 100% 70%) var(--progress, 0%), var(--track-bg) var(--progress, 0%) 100% ); mask-image: radial-gradient( transparent var(--holesize), black calc(var(--holesize) + 0.5px) ); }