:root{--tkd-loader-ready:1}

  html.tkd-lock, html.tkd-lock body{ overflow:hidden; }
  .tkd-loader{ display:none; }
  html.tkd-loading .tkd-loader{
    --tkd-ink:#ffffff;
    --tkd-c1:#5c5c5c; --tkd-c2:#d6d6d6; --tkd-c3:#ffffff; --tkd-c4:#868686;
    position:fixed; top:0; right:0; bottom:0; left:0; z-index:100000; overflow:hidden;
    display:block;
    background:#1a0202; color:var(--tkd-ink); 
    transition:opacity .6s ease, visibility 0s linear .6s;
  }
  html.tkd-loading .tkd-loader.is-done{ opacity:0; visibility:hidden; }

  
  .tkd-loader .tkd-scene{
    position:absolute; left:50%; top:50%; width:min(100vw, 68.35vh); aspect-ratio:1080 / 1580; transform:translate(-50%, -50%);
  }
  
  @media (min-aspect-ratio: 1080/1580){
    .tkd-loader .tkd-scene{
      -webkit-mask-image:linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent), linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
      -webkit-mask-composite:source-in;
              mask-image:linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent), linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
              mask-composite:intersect;
    }
  }
  
  @media (max-aspect-ratio: 1080/1580){
    .tkd-loader .tkd-scene{
      -webkit-mask-image:linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
              mask-image:linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
    }
  }
  .tkd-loader .tkd-poster, .tkd-loader .tkd-video{
    position:absolute; top:0; left:0; width:100%; height:100%; display:block; object-fit:cover;
  }
  .tkd-loader .tkd-video{ opacity:0; transition:opacity .25s ease; }
  .tkd-loader.is-video .tkd-video{ opacity:1; }

  
  .tkd-loader .tkd-red{
    position:absolute; top:0; right:0; bottom:0; left:0; pointer-events:none;
    background:radial-gradient(60% 42% at 62% 0%, rgba(214,24,24,.32), transparent 70%);
    mix-blend-mode:screen; opacity:0;
  }
  @keyframes tkd-in{ to{ opacity:1; } }
  .tkd-loader.is-fallback .tkd-red{ animation:tkd-in 1s ease forwards; }
  .tkd-loader.is-waiting .tkd-red{ opacity:1; animation:tkd-breathe 2.4s ease-in-out infinite alternate; }
  @keyframes tkd-breathe{ from{ opacity:.35; } to{ opacity:1; } }

  
  .tkd-loader .tkd-mark{
    
    position:absolute; left:50%; top:calc(50% + min(0.834vw, .57vh)); width:min(82.59vw, 56.45vh); height:auto;
    transform:translate(-50%, -50%); overflow:visible; display:none;
  }
  .tkd-loader.is-fallback .tkd-mark{ display:block; }
  .tkd-loader .tkd-chrome{ fill:url(#tkd-chrome-grad); }
  .tkd-loader .tkd-solid{ fill:var(--tkd-ink); opacity:0; }
  .tkd-loader.is-revealing .tkd-solid{ animation:tkd-in .32s ease .53s forwards; }
  .tkd-loader.is-revealing .tkd-chrome{ animation:tkd-out .3s ease .77s forwards; }
  @keyframes tkd-out{ to{ opacity:0; } }

  
  html.tkd-loading .tkd-loader.is-outro{ background-color:transparent; pointer-events:none; transition:background-color .55s ease; }
  .tkd-loader.is-outro .tkd-scene, .tkd-loader.is-outro .tkd-red{ opacity:0; animation:none; transition:opacity .55s ease; }
  .tkd-loader.is-outro .tkd-mark{ display:block; transition:opacity .45s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  .tkd-loader.is-outro .tkd-chrome{ display:none; }
  .tkd-loader.is-outro .tkd-solid{ opacity:1; animation:none; }
  .tkd-loader.is-logo-out .tkd-mark{ opacity:0; transform:translate(-50%, calc(-50% - 6px)); }

  .tkd-loader .tkd-sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

  @media (prefers-reduced-motion: reduce){
    .tkd-loader *{ animation:none !important; transition:none !important; }
    .tkd-loader .tkd-video{ display:none; }
    .tkd-loader .tkd-mark{ display:block; }
    .tkd-loader .tkd-solid{ opacity:1; }
    .tkd-loader .tkd-chrome{ display:none; }
    html.tkd-loading .tkd-loader{ transition:opacity .3s ease, visibility 0s linear .3s; }
  }

html.tkd-loading .tkd-loader.is-fallback{background:#0c0a08;background-image:radial-gradient(ellipse 70% 55% at 50% 47%,#1a1714,transparent)}
.tkd-loader.is-fallback .tkd-scene{display:none}
.tkd-loader.is-fallback .tkd-mark{width:min(72vw,460px);top:50%}
html.tkd-loading .tkd-loader.is-outro{background-image:none}
.tkd-loader.is-early-out .tkd-mark{display:none}
html.tkd-loading .tkd-loader.is-outro{transition:background-color .8s ease}
.tkd-loader.is-outro .tkd-scene{transition:opacity .8s ease}
.tkd-loader.is-logo-out .tkd-mark{transition:opacity .64s ease,transform .64s ease}

html.tkd-loading .tkd-loader.is-fallback.is-outro{background-color:transparent;background-image:none}

/* Keep native-speed movie moving until the scene becomes invisible. */
.tkd-loader.is-video.is-outro .tkd-scene{transition:opacity .2s ease-out}

/* Fade the original movie as a single layer, without a replacement logo. */
html.tkd-loading .tkd-loader.is-video-fade{opacity:0;pointer-events:none;transition:opacity 1s cubic-bezier(.25,.1,.25,1)}
.tkd-loader.is-video-fade .tkd-mark{display:none}

/* Uncropped original 9:16 movie: preserve every edge, with no edge masks. */
.tkd-loader .tkd-scene{width:min(100vw,56.25vh);aspect-ratio:9 / 16;-webkit-mask-image:none;mask-image:none}
.tkd-loader .tkd-video{object-fit:contain}

/* Blend the movie edges into the surrounding background on wide displays. */
.tkd-loader .tkd-scene{
  -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 16%,#000 88%,transparent 100%);
  mask-image:linear-gradient(to bottom,transparent 0%,#000 16%,#000 88%,transparent 100%);
}
@media (min-aspect-ratio:9/16){
  .tkd-loader .tkd-scene{
    -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 16%,#000 88%,transparent 100%),linear-gradient(to right,transparent 0%,#000 12%,#000 88%,transparent 100%);
    -webkit-mask-composite:source-in;
    mask-image:linear-gradient(to bottom,transparent 0%,#000 16%,#000 88%,transparent 100%),linear-gradient(to right,transparent 0%,#000 12%,#000 88%,transparent 100%);
    mask-composite:intersect;
  }
}
