/* yeezy and giannis: always on screen, on every layer of the site */
.dg { position: fixed; left: 0; right: 0; bottom: 0; height: 170px; z-index: 2147483647; pointer-events: none; }
.dg canvas { position: absolute; left: 0; bottom: 0; width: 100%; height: 170px; display: block; pointer-events: none; }
.dg-hit { position: absolute; appearance: none; -webkit-appearance: none; background: none; border: 0; padding: 0; margin: 0; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; border-radius: 40%; }
.dg-say { position: absolute; transform: translateX(-50%) translateY(6px); white-space: nowrap; font: 400 9.5px/1.2 "Helvetica Neue", system-ui, sans-serif; letter-spacing: .26em; text-transform: uppercase; color: #e8f0ff; background: rgba(8,12,26,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); padding: 7px 11px; border-radius: 999px; opacity: 0; transition: opacity .35s ease, transform .35s ease; pointer-events: none; }
.dg-say.on { opacity: 1; transform: translateX(-50%); }

/* sound switch + the count of secrets found */
.dg-snd { position: absolute; left: 12px; bottom: 10px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(190,220,255,.28); background: rgba(8,12,26,.5); pointer-events: auto; cursor: pointer; padding: 0; opacity: .5; transition: opacity .4s, border-color .4s; -webkit-tap-highlight-color: transparent; }
.dg-snd:hover, .dg-snd.on { opacity: 1; border-color: rgba(190,220,255,.7); }
.dg-snd i { position: absolute; left: 8px; top: 9px; width: 5px; height: 7px; background: #cfe2ff; clip-path: polygon(0 28%, 45% 28%, 100% 0, 100% 100%, 45% 72%, 0 72%); }
.dg-snd i::after { content: ''; position: absolute; left: 7px; top: -2px; width: 9px; height: 1.2px; background: #cfe2ff; transform: rotate(45deg); transform-origin: left; transition: opacity .3s; }
.dg-snd.on i::after { opacity: 0; }
.dg-snd.on::after { content: ''; position: absolute; left: 14px; top: 8px; width: 4px; height: 8px; border: 1.2px solid #cfe2ff; border-left: 0; border-radius: 0 8px 8px 0; }
.dg-snd span { position: absolute; left: 34px; top: 8px; white-space: nowrap; font: 400 8.5px/1 "Helvetica Neue", system-ui, sans-serif; letter-spacing: .28em; text-transform: uppercase; color: #cfe2ff; opacity: 0; transition: opacity .4s; pointer-events: none; }
.dg-snd:hover span, .dg-snd:focus-visible span { opacity: .85; }
.dg-bedy { border-radius: 12px; }
.dg-words { position: absolute; width: min(300px, calc(100vw - 24px)); display: flex; flex-wrap: wrap; gap: 5px; padding: 12px; border-radius: 14px; background: rgba(8,12,26,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.16); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .35s, transform .35s; }
.dg-words.on { opacity: 1; transform: none; pointer-events: auto; }
.dg-words em { flex: 0 0 100%; font: 400 8.5px/1.4 "Helvetica Neue", system-ui, sans-serif; letter-spacing: .28em; text-transform: uppercase; font-style: normal; color: #9fc4ee; margin-bottom: 4px; }
.dg-words button { font: 400 10.5px/1 "Helvetica Neue", system-ui, sans-serif; letter-spacing: .08em; color: #e8f0ff; background: rgba(120,165,255,.1); border: 1px solid rgba(160,200,255,.28); border-radius: 999px; padding: 6px 9px; cursor: pointer; }
.dg-words button:hover { background: rgba(120,165,255,.3); }

/* arrival */
.dg-veil { position: fixed; inset: 0; z-index: 2147483630; background: #000; opacity: 1; transition: opacity 2.4s ease; cursor: pointer; }
.dg-veil.off { opacity: 0; pointer-events: none; }
.dg-veil i { position: absolute; left: 50%; top: 46%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: #fff3d6; box-shadow: 0 0 14px 4px rgba(255,226,170,.9), 0 0 70px 26px rgba(255,214,140,.28); opacity: 0; transform: scale(.2); transition: opacity 1.6s ease, transform 2.2s cubic-bezier(.2,.7,.2,1), top 3.2s cubic-bezier(.5,0,.2,1), left 3.2s cubic-bezier(.5,0,.2,1); }
.dg-veil i.on { opacity: 1; transform: scale(1); }
.dg-veil i.up { top: 18%; left: 62%; transform: scale(.6); }
.dg-veil b { position: absolute; left: 0; right: 0; top: 54%; text-align: center; font: 400 10px/1 "Helvetica Neue", system-ui, sans-serif; letter-spacing: .5em; text-transform: uppercase; color: #cfdcf2; opacity: 0; transition: opacity 1.2s ease; }
.dg-veil b.on { opacity: .85; }
