/* Begrüssung zum neuen Auftritt «Kachel», siehe kachel-intro.js. Läuft nur in den
   ersten Wochen nach dem Umstelltag und nur beim ersten Besuch pro Browser. */

/* Bis die Animation steht, bleibt die Seite unsichtbar, damit der neue Auftritt nicht
   kurz aufblitzt. Die Klasse setzt nur das Skript; ohne JavaScript gilt die Regel nie. */
html.ki-on body > *:not(.ki) { visibility: hidden; }

.ki { position: fixed; inset: 0; z-index: 2147483000; overflow: hidden; cursor: pointer; }
.ki-cam, .ki-under, .ki-bg, .ki-fx, .ki-porz, .ki-v, .ki-cells { position: absolute; inset: 0; }
.ki-bg { background: #0c0c0c; }
.ki-porz { background: #F5F4F0; clip-path: circle(0 at 50% 50%); }
.ki-v { clip-path: circle(0 at 0 0); }
.ki-tinte { background: #101536; }
.ki-porzellan { background: #F5F4F0; }
.ki-old, .ki-run, .ki-mark, .ki-tile, .ki-cell, .ki-puff { position: absolute; }
.ki-old svg, .ki-mark svg, .ki-run svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ki-run div { position: absolute; inset: 0; transform-origin: 50% 50%; }
.ki-run .ki-foot { transform-origin: 50% 100%; }
.ki-run path { transform-box: fill-box; transform-origin: 50% 100%; }
.ki-run .ki-shw { inset: auto 10% -8% 10%; height: 14%; }
.ki-shw i { display: block; width: 100%; height: 100%; background: radial-gradient(closest-side, rgba(0, 0, 0, .4), rgba(0, 0, 0, 0)); }
.ki-puff { background: rgba(220, 216, 206, .55); border-radius: 0 100% 0 0; }
.ki-arc { border-radius: 0 0 100% 0; }
.ki-cell { background: #101536; will-change: transform; }
.ki-tile { will-change: transform; }
.ki-skip {
  position: absolute; right: 20px; bottom: 20px; padding: 10px 16px;
  font: 600 15px/1 "Radio Canada", Arial, sans-serif; color: #f5f4f0;
  background: rgba(16, 21, 54, .72); border: 1px solid rgba(245, 244, 240, .35); border-radius: 4px; cursor: pointer;
}
.ki-skip:focus-visible { outline: 2px solid #7c95ff; outline-offset: 2px; }
