:root{color-scheme:dark;background:#0b1e26}
*{box-sizing:border-box}
html,body{margin:0;min-width:240px;min-height:100%}
body{background:radial-gradient(ellipse at 50% 45%,#142a33 0%,#0b1e26 52%,#07151c 100%)}
main{min-height:100svh;display:grid;place-items:center;padding:8svh 24px;isolation:isolate;overflow:hidden}
main::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.045;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.5' filter='url(%23n)'/%3E%3C/svg%3E")}
.emblem{position:relative;display:block;isolation:isolate;height:min(72svh,760px);max-width:78vw;aspect-ratio:766/2054;padding:0;border:0;background:transparent;-webkit-tap-highlight-color:transparent;cursor:pointer;filter:drop-shadow(3px 12px 10px #0009)}
.emblem:focus-visible{outline:1px solid #d3b47b88;outline-offset:18px;border-radius:3px}
.emblem img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.light{position:absolute;inset:0;pointer-events:none;mask:url("assets/Trident_Emblem_v07_Shaded.png") center/contain no-repeat;-webkit-mask:url("assets/Trident_Emblem_v07_Shaded.png") center/contain no-repeat;background:linear-gradient(115deg,transparent 41%,#d6b96c12 46%,#fff2c66b 49.4%,#fff9df99 50%,#fce3a440 51%,transparent 56%);background-size:440% 280%;background-position:100% 100%;mix-blend-mode:screen;opacity:0;animation:shine 12s ease-in-out infinite}
@keyframes shine{0%,14%{background-position:100% 100%;opacity:0}21%{opacity:.55}48%{opacity:.65}58%,100%{background-position:0% 0%;opacity:0}}
.paused .light{animation-play-state:paused;opacity:0!important}
@media(max-width:600px){.emblem{height:min(67svh,650px)}}
@media(prefers-reduced-motion:reduce){.light{animation:none;opacity:0}.emblem{cursor:default}}
